package com.awifi.com.thread.lock;

import com.awifi.com.thread.method.RunableImpl;

/**
 * @description: ToDo
 * @author: marin
 * @time: 2020/6/28 22:13
 */
public class ThreadLoackTest {
    public static void main(String[] args){
        ThreadLock runable = new ThreadLock();
        Thread thread1 = new Thread(runable);
        thread1.start();

        Thread thread2 = new Thread(runable);
        thread2.start();

        Thread thread3 = new Thread(runable);
        thread3.start();
    }
}
